package com.zzj.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zzj.entity.CommentRoot;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzj.model.dto.comment.CommentListDTO;
import com.zzj.model.vo.CommentVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzj
 * @since 2023-05-13
 */
public interface ICommentRootService extends IService<CommentRoot> {
    IPage<CommentVo> commentVoList(Page<?> page, CommentListDTO in);

    CommentVo id(int rootId);

    CommentRoot findCommentRoot(int id);
}
